package com.central.apps.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 项目计划任务实体
 *
 * @author 李大超
 * @date 2022/8/16
 */
public class TaskBean implements Serializable {
    private static final long serialVersionUID = -3323529750871923312L;

    /**
     * id
     */
    private int id;
    /**
     * 编号id
     */
    private String recordId;
    /**
     * 唯一id
     */
    private String uniqueId;
    /**
     * 父节点编号
     **/
    private int parentId;
    /**
     * 任务名称
     **/
    private String name;
    /**
     * 任务描述
     */
    private String description;
    /**
     * 任务负责人
     */
    private String manager;

    /**
     * 大纲水平
     */
    private Integer level;
    /**
     * 工期
     **/
    private Number duration;
    /**
     * 工期单位
     */
    private String durationTimeUnit;
    /**
     * 开始时间
     **/
    private Date startTime;
    /**
     * 结束时间
     **/
    private Date finishTime;
    /**
     * 完成百分比
     **/
    private Number percentageComplete;
    /**
     * 前置任务
     **/
    private String predecessors;
    /**
     * 所属项目文件id
     */
    private String proId;
    /**
     * 用户资源
     */
    private List<String> listTaskRes;
    /**
     * 是否有子集
     */
    private boolean hasChild;

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setHasChild(boolean hasChild) {
        this.hasChild = hasChild;
    }

    public boolean isHasChild() {
        return hasChild;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getUniqueId() {
        return uniqueId;
    }

    public void setUniqueId(String uniqueId) {
        this.uniqueId = uniqueId;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Number getDuration() {
        return duration;
    }

    public void setDuration(Number duration) {
        this.duration = duration;
    }

    public String getDurationTimeUnit() {
        return durationTimeUnit;
    }

    public void setDurationTimeUnit(String durationTimeUnit) {
        this.durationTimeUnit = durationTimeUnit;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Number getPercentageComplete() {
        return percentageComplete;
    }

    public void setPercentageComplete(Number percentageComplete) {
        this.percentageComplete = percentageComplete;
    }

    public String getPredecessors() {
        return predecessors;
    }

    public void setPredecessors(String predecessors) {
        this.predecessors = predecessors;
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public List<String> getResources() {
        return listTaskRes;
    }

    public void setResources(List<String> listTaskRes) {
        this.listTaskRes = listTaskRes;
    }
}
